package cn.com.cetccst.hostsdk;

import static cn.com.cetccst.hostsdk.HostSdkManager.logger;

import android.content.Intent;
import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;

import cn.com.cetccst.hostsdk.internal.SSApiImplLocal;

public class EntryActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        SSApiImplLocal.getInstance(this).handleIntent(getIntent());
        finish();
    }

    @Override
    protected void onNewIntent(Intent intent) {
        super.onNewIntent(intent);
        logger.debug("onNewIntent");
        setIntent(intent);
        SSApiImplLocal.getInstance(this).handleIntent(getIntent());
        finish();
    }
}